Bend
Warp an image into a predefined shape.
Node Data | |
|---|---|
Display name | |
Bend | |
Internal name | |
Node_Bend | |
Inheritances | |
| Node_Processor | |
| Node_Bend | |
Inputs | |
Output | |
enum |
Dimension Type |
vec2 |
Dimension |
Surfaces | |
surface |
Surface In |
Bend | |
enum |
Type |
enum |
Axis |
slider |
Amount |
float |
Scale |
float |
Shift |
Transform | |
bool |
Keep Ratio |
vec2 |
Scale |
Mapping | |
vec2 |
Uv Shift |
vec2 |
Uv Scale |
Outputs | |
surface |
Surface Out |
Attributes | |
| Color Depth | |
| Interpolation | |
| Oversample | |
Bend the surface by a predefined shape.
Properties
| Bend | |
| Type | Bend shape. |
| Arc | |
| Axis | Main axis of the arc |
| Amount | Arc curvature |
| Wave | |
| Axis | Axis of the wave |
| Amount | The size/amplitude of the wave |
| Scale | The scale/frequency of the wave |
| Shift | The offset/phase of the wave |
Commit History
| 1.16.5 |
|
|---|---|
| 1.21.3.009 |
|
Related Links
- Base Code: /scripts/node_bend/node_bend.gml
- Shader [sh_bend_draw]: /shaders/sh_bend_draw/sh_bend_draw.fsh